package com.cckat.service.impl;

import com.cckat.base.BaseMapper;
import com.cckat.base.BaseServiceImpl;
import com.cckat.entity.UserInfo;
import com.cckat.mapper.UserInfoMapper;
import com.cckat.service.UserInfoService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;



/**
 * @author 静海基地
 */
@DubboService
public class UserInfoServiceImpl extends BaseServiceImpl<UserInfo> implements UserInfoService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    @Override
    public BaseMapper<UserInfo> getBaseMapper() {
        return userInfoMapper;
    }

    @Override
    public UserInfo findUserInfoByPhone(String phone) {
        return userInfoMapper.findUserInfoByPhone(phone);
    }
}
